package com.yuyu.shop;

import com.alibaba.cloud.seata.feign.SeataFeignClientAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author 启动类
 * @version 1.0
 * @description: TODO
 * @date 2022/8/1 10:03
 */
@SpringBootApplication(scanBasePackages = {"com.yuyu"},exclude = {SeataFeignClientAutoConfiguration.class})
@EnableScheduling
@EnableFeignClients(basePackages = {"com.yuyu.**.remote.**"})
@EnableDiscoveryClient
@EnableAspectJAutoProxy
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }
}
